package com.kmproject.haifu.mvp.model.entity.beans;

import java.util.List;

public class CommentListBean {

    /**
     * children : [{"children":[{}],"commentDetail":"","commentTableId":0,"commentType":0,"createTime":"","likeCount":0,"liked":0,"parentId":0,"publishTime":"","score":0,"updateTime":"","userCommentId":0,"userId":0,"userInfo":{"avatar":"","levelBackgroundImage":"","levelHeadImage":"","levelName":"","memberLevelId":0,"nickName":"","onlineStatus":"","registerLongTime":"","userId":0,"userSex":""}}]
     * commentDetail :
     * commentTableId : 0
     * commentType : 0
     * createTime :
     * likeCount : 0
     * liked : 0
     * parentId : 0
     * publishTime :
     * score : 0
     * updateTime :
     * userCommentId : 0
     * userId : 0
     * userInfo : {"avatar":"","levelBackgroundImage":"","levelHeadImage":"","levelName":"","memberLevelId":0,"nickName":"","onlineStatus":"","registerLongTime":"","userId":0,"userSex":""}
     */

    private String commentDetail;
    private long commentTableId;
    private int commentType;//评论类型：0-租房 1-售房 2-二手市场 3-同城服务 4-店铺 5-头条
    private String createTime;
    private int likeCount;
    private int liked;//是否赞过：0-否，1-是，如果用户没有登录，肯定显示没有赞过
    private int parentId;
    private String publishTime;
    private int score;//评分，针对店铺有评分，如果没有评分，为空
    private String updateTime;
    private long userCommentId;//用户评论Id
    private long userId;
    private UserInfoBean userInfo;
    private List<CommentListBean> children;

    public String getCommentDetail() {
        return commentDetail;
    }

    public void setCommentDetail(String commentDetail) {
        this.commentDetail = commentDetail;
    }

    public long getCommentTableId() {
        return commentTableId;
    }

    public void setCommentTableId(long commentTableId) {
        this.commentTableId = commentTableId;
    }

    public int getCommentType() {
        return commentType;
    }

    public void setCommentType(int commentType) {
        this.commentType = commentType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getLiked() {
        return liked;
    }

    public void setLiked(int liked) {
        this.liked = liked;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public long getUserCommentId() {
        return userCommentId;
    }

    public void setUserCommentId(long userCommentId) {
        this.userCommentId = userCommentId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public List<CommentListBean> getChildren() {
        return children;
    }

    public void setChildren(List<CommentListBean> children) {
        this.children = children;
    }

    public static class UserInfoBean {
        /**
         * avatar :
         * levelBackgroundImage :
         * levelHeadImage :
         * levelName :
         * memberLevelId : 0
         * nickName :
         * onlineStatus :
         * registerLongTime :
         * userId : 0
         * userSex :
         */

        private String avatar;
        private String levelBackgroundImage;
        private String levelHeadImage;
        private String levelName;
        private long memberLevelId;
        private String nickName;
        private String onlineStatus;
        private String registerLongTime;
        private long userId;
        private String userSex;

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getLevelBackgroundImage() {
            return levelBackgroundImage;
        }

        public void setLevelBackgroundImage(String levelBackgroundImage) {
            this.levelBackgroundImage = levelBackgroundImage;
        }

        public String getLevelHeadImage() {
            return levelHeadImage;
        }

        public void setLevelHeadImage(String levelHeadImage) {
            this.levelHeadImage = levelHeadImage;
        }

        public String getLevelName() {
            return levelName;
        }

        public void setLevelName(String levelName) {
            this.levelName = levelName;
        }

        public long getMemberLevelId() {
            return memberLevelId;
        }

        public void setMemberLevelId(long memberLevelId) {
            this.memberLevelId = memberLevelId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getOnlineStatus() {
            return onlineStatus;
        }

        public void setOnlineStatus(String onlineStatus) {
            this.onlineStatus = onlineStatus;
        }

        public String getRegisterLongTime() {
            return registerLongTime;
        }

        public void setRegisterLongTime(String registerLongTime) {
            this.registerLongTime = registerLongTime;
        }

        public long getUserId() {
            return userId;
        }

        public void setUserId(long userId) {
            this.userId = userId;
        }

        public String getUserSex() {
            return userSex;
        }

        public void setUserSex(String userSex) {
            this.userSex = userSex;
        }
    }
}
